<ion-view view-title="新品测试活动详情" class="newproductpost">
	<!--描述：滑动块-->
	<ion-content>
		<!--描述：轮播广告-->
		<ion-slide-box delegate-handle="advs-handle" auto-play="true" does-continue="true" slide-interval="5000" show-pager="true" lazy-scroll>
			<ion-slide ng-repeat="image in detail.image">
				<div class="box">
					<img image-lazy-src="{{image.image}}" />
				</div>
			</ion-slide>
		</ion-slide-box>
		
		<!--描述：标题-->
		<div class="title">
			<div class="line-bottom">{{detail.name}}</div>
		</div>
		<div class="body">
			<div class="desc">简介：{{detail.introduction}}</div>
			<div class="link">
				<!--<i class="iconfont icon-qq"></i>-->
				<div class="sub">交流群：<span class="positive">{{detail.group_name}}</span></div>
				<div class="sub">{{act_time_name}}：<span style="color: red;">{{detail.formate_time}}</span></div>
			</div>
		</div>
		<!--描述：申请-->
		<!--<div class="apply">
			<span class="btn assertive-bg light" on-tap="apply(detail.act_id)">立即申请</span>
			<span class="btn positive-bg light">下载问卷</span>
			<span class="btn royal-bg light  margin-left-10-my" on-tap="uploadFile()">上传问卷</span>
			<span class="btn bian_gray assertive" on-tap="show_apply()">活动结果</span>
			<div class="item-input-inset padding-5">
				<label class="checkbox checkbox-square checkbox-positive padding-0">
					<input type="checkbox" id="agreeBox">
				</label>
				<label for="agreeBox">我同意此次活动细则</label>
			</div>-->
			<!--当选择了文件，最好显示出要上传的文件名-->
			<!--<p class="assertive">{{filename}}</p>
			<input type="file" id="paper" ng-hide="true" class="font-small-my item-input-inset padding-5" onchange="angular.element(this).scope().onuploadFile(this)"/>
		</div>-->
		
		<!--新品商品列表-->
		<div class="list">
			<li class="item item-divider text-center">新品列表</li>
			<li class="item item-thumbnail-left item-text-wrap" ng-repeat="goods in detail.goods" style="padding-bottom: 5px;padding-top: 5px;" on-tap="onshow_detail(goods.id)">
				<img src="{{goods.image[0].image}}" />
				<p style="height:50px;">{{goods.name|limitTo:28}}</p>
				<p class="font-middle-my">
					抢购价：<span class="assertive">{{goods.seckill_price|currency:'¥'}}</span>		
					<span class="right-zhang" ng-bind="goods.buy_num?goods.buy_num+'人已购买':'0人已购买'"></span>
				</p>
			</li>
		</div>
	</ion-content>
	
		<!--弹窗，通过点击控制，为了避免弹窗显示时，底部内容也能滚动，必须将这些弹窗放在ion-content外-->
		<div ng-hide="isHide" class="kuang_zhang padding">
	      	<div ng-include="'templates/worldservice/newproductpost_test_popup.html'"></div>
		</div>
		
		<!--透明背景，当弹窗出现时，该背景也跟着出现，通过点击控制-->
		<div ng-hide="isHide" class="touming_zhang" on-tap="hide_apply()"></div>
		
</ion-view>